<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
<script>
function process(values){
	if (!(values instanceof Array)){
		throw new Error("process(): 参数必须为数组。");
	}
	values.sort();
	for (var i=0, len=values.length; i < len; i++){
		if (values[i] > 100){
			return values[i];
		}
	}
	return -1;
}

</script>
</head>
<body>
</body>
</html> 



